@echo off
setlocal

echo ====== ENV CHECK ======
where node
where npm
where pm2
node --version
npm --version
pm2 --version
chcp
whoami
ver

set DEPLOY_DIR=%~dp0..
echo DEPLOY_DIR=%DEPLOY_DIR%

echo ====== PATH ======
echo %PATH%

echo ====== DISK FREE ======
dir /-C "%DEPLOY_DIR%\.." | findstr /I "bytes free 可用字节"

echo Press any key to exit...
pause >nul
